#!/usr/bin/python3
import glob


def read_text(file_name):
    with open(file_name) as file_object:
        lines = file_object.readlines()

    for line in lines:
        print(line)

for file_name in glob.glob("*.txt"):
    print(file_name)
    read_text(file_name)
